package cn.tedu.autoshow.website.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserAddNewParam implements Serializable {
    private static final long serialVersionUID = 1L;



    @NotNull(message = "账号不能为空")
    @ApiModelProperty(value = "账号", required = true, example = "aaaaaaaaa")
    private  String username;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true, example = "p@ssw0rd")
    private  String password;

    @ApiModelProperty(value = "昵称", example = "闫校源")
    private  String nickname;


}










